let str = "你这背景太假了！";

for (let v of str) {
    console.log(v);
}

// console.log(str[0]);

// 2022-08-19 14:20:35
let date = new Date();
let month = date.getMonth();
console.log("month =",month);

function formatNumber(v) {
    let str = v.toString();
    // console.log(str);
    if (str[1]) {
        return str;
    } else {
        return '0' + str[0];
    }
}

console.log("month = ",formatNumber(month + 1));